package com.example.mine_platform.service;

import com.example.mine_platform.commom.Result;
import com.example.mine_platform.pojo.dto.DeviceDTO;
import com.example.mine_platform.pojo.dto.DeviceNewDTO;
import com.example.mine_platform.pojo.entities.Devices;
import com.example.mine_platform.pojo.vo.DeviceVO;

import java.util.List;

public interface DeviceService {
    List<DeviceVO> getAllDevices();
    Devices getDevicesById(Integer id);
    Result insertDevice(DeviceNewDTO deviceNewDTO);
    Result updateDevice(DeviceDTO deviceDTO);
    Result deleteDevice(Integer id);
}
